<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>判断360浏览器代码</title>
	</head>
	<body>
		<script type="text/vbscript">
Function get360BrowserVersion()
on error resume next
Dim g_strSecurityId
g_strSecurityId = "111"
g_strSecurityId = external.twGetSecurityID( window )
dim g_strTwVersion
g_strTwVersion = ""
g_strTwVersion = external.twGetVersion( g_strSecurityId )
if g_strTwVersion >= "1.0.1.3" then
g_bRunIn360se = true
end if
get360BrowserVersion = g_strTwVersion
End Function
</script>

		<script type="text/javascript">
function get360BrowserVersionStr()
{
var ver = "";
if(navigator.appName=="Microsoft Internet Explorer")
ver = get360BrowserVersion();
if( ver ) {
return("哈哈，你的是安全强大的360浏览器，你可以上那种网站了，版本是：" + ver);
}
return("杯具了，你的不是360浏览器，或者版本太低！上网要小心了，现在挂马很多啊！赶紧去下载个最新版的360浏览器吧！");
} 
window.alert(get360BrowserVersionStr());
</script>
	</body>
</html>
